﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace VoteInformationSystem.Models
{
    public interface IPlaetzeverteilungBundestagRepository
    {
        /// <summary>
        /// Get parliament seat distribution per party in a given year
        /// </summary>
        /// <param name="Jahr">The year of the parlamentary election for which results have to be returned</param>
        /// <returns>An IEnumerable of PlaetzeverteilungBundestag objects containing names of parties
        /// and their number of achieved seats in the parlamentary election of the year <paramref name="Jahr"/>.</returns>
        IEnumerable<PlaetzeverteilungBundestag> GetPlaetzeVerteilung(int Jahr);
    }
}
